import request from '@/utils/request'

export function listBackwashPoint(query) {
  return request({
    url: '/nssc/backwashpoint/list',
    method: 'get',
    params: query
  })
}
// 查询配置详细
export function getBackwashPoint(id) {
  return request({
    url: '/nssc/backwashpoint/' + id,
    method: 'get'
  })
}
// 新增
export function addBackwashPoint(data) {
  return request({
    url: '/nssc/backwashpoint',
    method: 'post',
    data: data
  })
}
// 修改
export function updateBackwashPoint(data) {
  return request({
    url: '/nssc/backwashpoint',
    method: 'put',
    data: data
  })
}
// 删除
export function delBackwashPoint(id) {
  return request({
    url: '/nssc/backwashpoint/' + id,
    method: 'delete'
  })
}

